
<!------------底部------------------------->
<div class="footer">

    <p>
        <a href="{url app=store&id=$store.store_id}">商铺首页</a>|<a href="<!--{if $visitor.user_id}-->{url app=buyer_order}<!--{else}-->{url app=member&act=login&ret_url=$ret_url}<!--{/if}-->">会员中心</a>|<a href="{url app=store&act=about&id=$store.store_id}">关于我们</a>
    </p>
    <a href="#" class="top"><img src="{res file=images/top.png}"></a>
    <p>{if $store.functions.copyright}{$store.copyright|escape}{ else} Copyright &copy;2014 {$site_url}{/if}</p>
</div> 
<!--{if $kmenus.status==0 or $kmenus.status==''}-->
<link type="text/css" rel="stylesheet" href="{res file=css/kmenus.css}">
<div class="flo_btn_<!--{if $kmenus.stypeinfo==''}-->1<!--{else}-->{$kmenus.stypeinfo}<!--{/if}-->">
    <ul>
        <!--{foreach from=$kmenusinfo item=info}-->
        <li>
            <a style="background-color:#{$info.color};" href="<!--{if $info.title=='导航'}-->http://map.baidu.com/?newmap=1&ie=utf-8&s=s%26wd%3D{$info.loadurl}<!--{else}-->{$info.loadurl}<!--{/if}-->"><span style="background:url('{$info.imgurl}') scroll no-repeat center center transparent;background-size:60%; bottom:0; left:0;"></span></a>
        </li>
        <!--{/foreach}-->
    </ul>
</div>
<!--{/if}-->
<!----底部导航------------->
<div class="footer_nav">
    <ul class="nav">
        <a href="{url app=store&id=$store.store_id}"><li><span ><img src="{res file=images/nav_1.png}"></span></li></a>
        <a href="javascript:;" class="menu"><li><span><img src="{res file=images/nav_2.png}"></span></li></a>
        <a href="<!--{if $visitor.user_id}-->{url app=buyer_order}<!--{else}-->{url app=member&act=login&ret_url=$ret_url}<!--{/if}-->"><li><span><img src="{res file=images/nav_3.png}"></span></li></a>
        <a href="{url app=cart}"><li><span><img src="{res file=images/nav_4.png}"></span></li></a>
    </ul>
</div>
<!----------下拉二级菜单--------------->
<div class="sub_menu">
    <ul>
        <!--{if $store.radio_new eq '1'}-->
        <li>
            <a href="index.php?app=store&act=search&id={$store.store_id}&order=add_time"><h2>最新商品</h2></a>
        </li>
        <!--{/if}-->
        <!--{if $store.radio_recommend eq '1'}-->
        <li>
            <a href="index.php?app=store&act=search&id={$store.store_id}&recommended=1"><h2>推荐商品</h2></a>
        </li>
        <!--{/if}-->
        <!--{if $store.radio_hot eq '1'}--> 
        <li>
            <a href="index.php?app=store&act=search&id={$store.store_id}&order=views"><h2>热门商品</h2></a>
        </li>
        <!--{/if}-->
        <!--{foreach from=$store.store_gcates item=gcategory}-->
        <li>
            <!--{if $gcategory.children}-->
            <a href="#"><h2>{$gcategory.value|escape}</h2></a> 
            <ol  class="sub_menu_list">
                <!--{foreach from=$gcategory.children item=child_gcategory}-->
                <a href="{url app=store&id=$store.store_id&act=search&cate_id=$child_gcategory.id}"><b></b><li>{$child_gcategory.value|escape}</li></a>
                <!--{/foreach}-->
            </ol>
            <!--{else}-->
            <a href="{url app=store&id=$store.store_id&act=search&cate_id=$gcategory.id}"><h2>{$gcategory.value|escape}</h2></a>
            <!--{/if}-->
        </li>
        <!--{/foreach}-->
    </ul>
    <div class="fun">
        <a href="javascript:;" class="code"><img src="{res file=images/code.png}"/>店铺二维码</a>
        <a href="javascript:collect_store({$store.store_id});" class="fav"><img src="{res file=images/favorite.png}"/>收藏本店</a>
    </div>

    <!----------二维码、店铺信息--------------->
    <div class="shop_info">
        <img src="<!--{if $store.store_code}-->{$store.store_code}<!--{else}-->{res file=images/code.jpg}<!--{/if}-->" class="shop_code"/>
        <p class="shop_name">店铺ID：{$store.store_name|escape}</p>
        <p class="shop_detail">
            <span>信用度：<strong><!--{if $store.credit_value ge 0}--><img src="{$store.credit_image}" alt="" /><!--{/if}--></strong></span><br />
            <span>商品数量：{$store.goods_count}</span>
        </p>
        <a href="javascript:;" class="back">返回上一页</a>
    </div>
</div>
<!--------显示收藏信息------------->
<div class="fav_msg">
    <img src="{res file=images/favorite.png}" />
    <span id="collect"></span>
</div>